package com.example.codegenerator.common.model.bo;

import lombok.Data;

/**
 * 数据表信息业务对象
 *
 * @author Lv
 * @date 2023/11/11
 */
@Data
public class TableInfoResultBO extends TableInfoBO {
    /**
     * 表名称
     */
    private String tableName;

    /**
     * 字段顺序
     */
    private String ordinalPosition;


    @Override
    public String toString() {
        return " " + super.getColumnName() +
                " " + super.getDataType() +
                " " + super.getColumnComment() +
                " " + super.getColumnKey() +
                " " + super.getPropertyName() +
                " " + super.getExtra() +
                "\n";
    }
}
